package simba

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// TaobaoSimbaCampaignAddAPIResponse 创建一个推广计划 API返回值
// taobao.simba.campaign.add
//
// 创建一个推广计划
type TaobaoSimbaCampaignAddAPIResponse struct {
	model.CommonResponse
	TaobaoSimbaCampaignAddAPIResponseModel
}

// TaobaoSimbaCampaignAddAPIResponseModel is 创建一个推广计划 成功返回结果
type TaobaoSimbaCampaignAddAPIResponseModel struct {
	XMLName xml.Name `xml:"simba_campaign_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 创建的推广计划
	Campaign *Campaign `json:"campaign,omitempty" xml:"campaign,omitempty"`
}
